package com.beamfield.dao.sys;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import com.beamfield.model.ProductDrawing;
import com.beamfield.modelVo.ProductDrawingVO;

@Component
public interface ProductDrawingMapper {

	int deleteByPrimaryKey(Long id);

    int insertSelective(ProductDrawing record);
    
    List<ProductDrawingVO> getProductDrawing(@Param("beam_id") Long beam_id,@Param("offset") String offset,@Param("limit") String limit);

	int countProductDrawing(@Param("beam_id")Long beamId);

	List<ProductDrawingVO> selectProductDrawingByProductId(@Param("beam_id")Long beamId, @Param("product_id")String product_id);

}